<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- 公共样式 -->
    <link rel="stylesheet" href="styles/common.css">
    <!-- 自定义样式 -->
    <link rel="stylesheet" href="styles/vip-account.css">
    <!-- jquery -->
    <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
    <title>绑定手机</title>
</head>
<script type="text/javascript">
    ! function(e, t) { var n = t.documentElement,
    d = e.devicePixelRatio || 1;
    function i() { var e = n.clientWidth / 3.75;
        n.style.fontSize = e + "px" } if (function e() { t.body ? t.body.style.fontSize = "16px" : t.addEventListener("DOMContentLoaded", e) }(), i(), e.addEventListener("resize", i), 
        e.addEventListener("pageshow", function(e) { e.persisted && i() }), d >= 2) { var o = t.createElement("body"),
        a = t.createElement("div");
        a.style.border = ".5px solid transparent", o.appendChild(a), n.appendChild(o), 1 === a.offsetHeight && n.classList.add("hairlines"), n.removeChild(o) } }(window, document)
</script>
<body>
    <div class="header">
        <span class="header-title">绑定手机</span>
        <img src="images/back.png" alt="返回">
        <span class="oprator">下一步</span>
    </div>
    <div class="main">
        <div class="top-tips">
            <p>为了保证您的账号安全,请验证当前手机号, 验证成功后进行下一步操作</p>
        </div>
        <ul>
            <li>
                <span class="main-text">原手机号</span>
                <p>137****1375</p>
                <!-- 清除浮动 -->
                <div class="clearfix"></div>
            </li>
            <li>
                <span class="main-text">验证手机</span>
                <input class="main-input" type="text">
                <input type="button" id="codeBtn" class="main-code" value="发送验证码" onclick="sendmail()" /> 
                 <!-- 清除浮动 -->
                 <div class="clearfix"></div>
            </li>
        </ul>
        <div class="bottom-tips">
            <p>手机号已遗失？请将详细情况发邮件至 secretary@bifx.cc</p>
        </div>
        
    </div>
</body>
<script type="text/javascript">
    // 验证码
    var countdown=60; 
    function sendmail(){
        var obj = $("#codeBtn");
        settime(obj);
        }
    function settime(obj) { //发送验证码倒计时
        if (countdown == 0) { 
            obj.attr('disabled',false); 
            obj.val("重新发送");
            countdown = 60; 
            return;
        } else { 
            obj.attr('disabled',true);
            obj.val("重新发送(" + countdown + ")");
            countdown--; 
        } 
        setTimeout(function() { 
            settime(obj) 
        } ,1000) 
    }
</script>
</html>